package cn.itsource.org.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Department {

    private Long id;
    //部门编号
    private String sn;
    //部门名称
    private String name;
   //上级部门分层
    private String dirPath;
    //部门状态 0 整除 1 禁用
    private Integer state;
   //部门管理员，关联employee表id
    private Long managerId;
   //上级部门
    private Long parentId;
}